year=eval(input("请输入一个年份:"))

is_leap_year="不是"

if (year%4==0 and year%100!=0) or year%400==0:
    is_leap_year="是"
print("{}年{}闰年".format(year,is_leap_year))
